function spotServicF(){
    service.call(this);
    this.url="/api/spot";


    this.getSpotByParentId=function(url,params,callback){
        return _HTTP.get(this.url+url,params,callback);
    };

    this.getTreeSpotById=function (url,params,callback) {
        return _HTTP.get(this.url+url,params,callback);
    }

    this.getAllSpot=function (url,params,callback) {
        return _HTTP.get(this.url+url,params,callback);
    }

}
var spotService = new spotServicF();

